<template>
  <div class="banner">
    <button @click="bannerButton">banner按钮</button>
  </div>
</template>

<script>
  import eventBus from './utils/event-bus';

  export default {
    methods: {
      bannerButton() {
        console.log('banner按钮被点击了')
        eventBus.emit('eventBannerClick', 'why', 18, {name: 'kobe', age: 40})
      }
    }
  }
</script>

<style scoped>
</style>